package com.cyf.db.bean;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.sql.Timestamp;

/**
 * 用户电子发票信息
 * Created by asus on 2019/4/13.
 */
@Data
public class UserInvoice {
    /**
     * 主键Id
     */
    private int id;
    /**
     * 发票类型 1 企业  2个人
     */
    private int invoiceType;
    /**
     * 发票抬头
     */
    private String invoice;
    /**
     * 发票税号
     */
    private String invoiceTaxNumber;
    /**
     * 用户 id
     */
    private int userId;
    /**
     * 车牌号
     */
    private String plate;
    /**
     * 创建时间
     */
    private Timestamp createdTime;
    @ApiModelProperty("邮箱")
    private String mail;
    @ApiModelProperty("公司地址")
    private String companyAddress;
    @ApiModelProperty("公司电话")
    private String companyPhone;
    @ApiModelProperty("公司开户行")
    private String companyBank;
    @ApiModelProperty("开户行账号")
    private String bankAccount;
    @ApiModelProperty("备注")
    private String remarks;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getInvoiceType() {
        return invoiceType;
    }

    public void setInvoiceType(int invoiceType) {
        this.invoiceType = invoiceType;
    }

    public String getInvoice() {
        return invoice;
    }

    public void setInvoice(String invoice) {
        this.invoice = invoice;
    }

    public String getInvoiceTaxNumber() {
        return invoiceTaxNumber;
    }

    public void setInvoiceTaxNumber(String invoiceTaxNumber) {
        this.invoiceTaxNumber = invoiceTaxNumber;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getPlate() {
        return plate;
    }

    public void setPlate(String plate) {
        this.plate = plate;
    }

    public Timestamp getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Timestamp createdTime) {
        this.createdTime = createdTime;
    }
}
